package com.nys.cqhttp.message.pojo;

import lombok.Data;

@Data
public class NowPojo {
  private String obsTime;
  private String temp;
  private String feelsLike;
  private String icon;
  private String text;
  private String wind360;
  private String windDir;
  private String windScale;
  private String windSpeed;
  private String humidity;
  private String precip;
  private String pressure;
  private String vis;
  private String cloud;
  private String dew;

  @Override
  public String toString() {
    return "数据观测时间 " + obsTime + "\n" + "温度 " + temp + "摄氏度\n" + "体感温度 " + feelsLike + "摄氏度\n"
        + "天气状况 " + text + "\n" + "风向 " + windDir + "\n" + "风力等级 " + windScale + "\n" + "风速 "
        + windSpeed + "公里/小时\n" + "相对湿度 " + humidity + "%\n" + "降水量 " + precip + "毫米/小时\n" + "大气压强 "
        + pressure + "百帕\n" + "能见度 " + vis + "公里\n";
  }
}
